package cn.bon.common.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.security.core.Authentication;

import java.io.Serializable;

/**
 * @author: dronff
 * @description: Authentication对象和token的聚合对象
 * @CreateTime: 2023/12/12 10:55
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PolyAuthToken implements Serializable {
    private String token;
    private Authentication authentication;
}
